projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6a4e68
)
textview: Give attached children a different css name
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 10 May 2020 13:14:25 +0000
(09:14 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 10 May 2020 20:25:28 +0000
(16:25 -0400)
If we use "text" for the children that are attached to the
text view, they end up rendering the same background as the
main text content, causing that content to be covered up.
Fixes: #2729
gtk/gtktextviewchild.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextviewchild.c
b/gtk/gtktextviewchild.c
index a51ddfe3ac695c93537dcecd115b1eccdef5d494..1462f3ecbdc01f35374bca1920274ff46da06501 100644
(file)
--- a/
gtk/gtktextviewchild.c
+++ b/
gtk/gtktextviewchild.c
@@
-326,7
+326,7
@@
gtk_text_view_child_constructed (GObject *object)
break;
case GTK_TEXT_WINDOW_TEXT:
- gtk_css_node_set_name (css_node, g_quark_from_static_string ("
text
"));
+ gtk_css_node_set_name (css_node, g_quark_from_static_string ("
child
"));
break;
case GTK_TEXT_WINDOW_WIDGET: